// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'


//引入iview组件
import iView from 'iview';
import 'iview/dist/styles/iview.css';
// import './my-theme/index.less';

/*
//引入ELementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


Vue.use(ElementUI)
*/

//引入axios组件
import Axios from 'axios'


//Axios.defaults.baseURL = 'https://cnodejs.org/api/v1';
//Axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
//给Vue原型挂载一个属性
Vue.prototype.$axios = Axios;

Vue.use(iView);


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
